//
//  HFWindow.m
//  HocusFocus
//
//  Created by Juan Carlos Jimenez on 4/1/06.
//  Copyright 2008 Juan Carlos Jimenez. All rights reserved.
//
#import "HFCaptureWindow.h"

@implementation HFCaptureWindow

- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag
{
	return [super initWithContentRect:contentRect styleMask:0 backing:backingType defer:flag];
}

- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)styleMask backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag screen:(NSScreen *)aScreen
{
	return [super initWithContentRect:contentRect styleMask:0 backing:bufferingType defer:flag screen:aScreen];
}

- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)aScreen
{
	return [aScreen frame];
}

- (BOOL) acceptsMouseMovedEvents
{
    return YES;
}

- (BOOL) canBecomeKeyWindow
{
    return YES;
}

@end
